/* Archive Page Styles */

/* Override body styles for archive page */
.archive-page {
    overflow: auto;
    background-color: #F5F5F5;
    color: #333;
    min-height: 100vh;
}

/* Remove physics world for archive page */
.archive-page #physics-world {
    display: none;
}

/* Main Content Layout */
.archive-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px;
}

/* Responsive layout adjustments */
@media (max-width: 1400px) {
    .archive-main {
        padding: 40px 40px;
    }
}

@media (max-width: 1200px) {
    .archive-main {
        padding: 30px 30px;
    }
}

.archive-content {
    width: 100%;
}

/* Section Styles */
.archive-section {
    padding: 60px 0;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.archive-title {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #B31B1B;
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: center;
}

.archive-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.3;
    text-align: center;
}

.archive-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    margin-bottom: 48px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Winners Section */
.winners-section {
    margin-top: 80px;
    text-align: center;
}

.winners-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 48px;
}

.winners-year-group {
    margin-bottom: 32px;
}

.winners-year-label {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #B31B1B;
    margin-bottom: 16px;
}

.winners-links-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.winner-text-link {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #B31B1B;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.winner-text-link:hover {
    color: #9A1515;
    text-decoration: underline;
}

.separator {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #999;
    font-weight: 400;
}

/* Archive Grid */
.archive-grid {
    margin-top: 40px;
}

.year-section {
    background-color: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 32px;
}

.year-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #B31B1B;
    margin-bottom: 32px;
    text-align: center;
    border-bottom: 2px solid #E5E5E5;
    padding-bottom: 16px;
}

/* Materials Grid */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.material-category {
    background-color: #F9F9F9;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #E5E5E5;
}

.category-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 12px;
}

/* Download Links */
.download-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-link {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: white;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.download-link.questions {
    border-color: #B31B1B;
}

.download-link.questions:hover {
    background-color: #FFF9F9;
    border-color: #9A1515;
}

.download-link.solutions {
    border-color: #28A745;
}

.download-link.solutions:hover {
    background-color: #F8FFF9;
    border-color: #1E7E34;
}

.download-link.winners {
    border-color: #ffdd1b;
}

.link-icon {
    font-size: 24px;
    margin-right: 16px;
    flex-shrink: 0;
}

.link-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.link-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.link-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.download-link.questions .link-title {
    color: #B31B1B;
}

.download-link.solutions .link-title {
    color: #28A745;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .archive-main {
        padding: 30px 30px;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .year-section {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .archive-main {
        padding: 40px 20px;
    }
    
    .archive-title {
        font-size: 36px;
    }
    
    .archive-subtitle {
        font-size: 20px;
    }
    
    .winners-section-title {
        font-size: 28px;
    }
    
    .year-section {
        padding: 24px;
    }
    
    .year-title {
        font-size: 24px;
    }
    
    .material-category {
        padding: 20px;
    }
    
    .materials-grid {
        gap: 20px;
    }
    
    .winners-section-title {
        font-size: 28px;
    }
    
    .winners-year-label {
        font-size: 20px;
    }
    
    .winner-text-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .archive-main {
        padding: 20px 15px;
    }
    
    .archive-title {
        font-size: 28px;
    }
    
    .archive-subtitle {
        font-size: 18px;
    }
    
    .winners-section-title {
        font-size: 24px;
        margin-bottom: 32px;
    }
    
    .year-section {
        padding: 20px;
    }
    
    .winners-year-label {
        font-size: 18px;
    }
    
    .winners-year-group {
        margin-bottom: 24px;
    }
    
    .winner-text-link {
        font-size: 13px;
    }
    
    .separator {
        font-size: 14px;
    }
    
    .download-link {
        padding: 12px;
    }
    
    .link-icon {
        font-size: 20px;
        margin-right: 12px;
    }
    
    .link-title {
        font-size: 14px;
    }
    
    .link-subtitle {
        font-size: 12px;
    }
}

/* Footer Styles - Same as other pages */
.footer {
    border-top: 2px solid #E5E5E5;
    padding: 40px 0;
    margin-top: 80px;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-disclaimer {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-align: right;
    max-width: 400px;
    line-height: 1.5;
    margin: 0;
}

/* Footer Responsive Design */
@media (max-width: 768px) {
    .footer {
    }
    
    .footer-content {
        padding: 0 20px;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .footer-disclaimer {
        text-align: center;
        max-width: none;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 32px 0;
        margin-top: 60px;
    }
    
    .footer-content {
        padding: 0 15px;
        gap: 24px;
    }
    
    .footer-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .footer-disclaimer {
        font-size: 12px;
    }
} 